﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace MedicalSystem.SamrtReport.Toolbox.Configuration
{
   public class ToolboxControlSection:ConfigurationSection
    {
        [ConfigurationProperty("basicToolboxControls", IsDefaultCollection = true)]
        public ToolboxControlCollection BasicToolboxControls
        {
            get
            {
                return this["basicToolboxControls"] as ToolboxControlCollection;
            }
            set
            {
                this["basicToolboxControls"] = value;
            }
        }

       [ConfigurationProperty("mobileFormToolboxControls")]
       public ToolboxControlCollection MobileFormToolboxControls
       {
           get
           {
               return this["mobileFormToolboxControls"] as ToolboxControlCollection;
           }
           set
           {
               this["mobileFormToolboxControls"] = value;
           }
       }

       [ConfigurationProperty("windowsFormToolboxControls")]
       public ToolboxControlCollection WindowsFormToolboxControls
       {
           get
           {
               return this["windowsFormToolboxControls"] as ToolboxControlCollection;
           }
           set
           {
               this["windowsFormToolboxControls"] = value;
           }
       }
    }
}
